<?php

namespace app\index\controller;

use think\Controller;
use app\index\model\StudentModel;

class StudentController extends Controller
{
    public function index()
    {
        $model = new StudentModel;
        echo $model;
        $to = $model->index();
        return $to;
    }
}